<?php
/**
 * PC 端 头部公共控制器
 * headercontroller.php
 * 
 * Create on 
 * Create by Jim.Chou
 */
namespace haibao\cms\business\control\pc\common;


class LoginController extends \haibao\cms\business\control\Base{
	
	public function __construct($updateTime = null,$controlId,$isPublish){
		parent::__construct($updateTime,$controlId,$isPublish);
	}
	
	
	/**
	 * 获取模版内容
	 * @param : String $content
	 */
	public function displayTemplateHtml(){

		$content = $this->getParameter(self::$CONTROL_CONTENT);
		$path = $this->generateHtmlPath(__CLASS__);
		$this->generateHtml($path,$content);
		$this->assign('userHost', \haibao\classlibrary\cms\Config::getConfig(\haibao\classlibrary\cms\Config::CLASSLIBRARY_CONFIG_HOST_USER));
		return $this->getHtml($path);
	}
}